In mathematics, a Sylvester matrix is a matrix associated to two polynomials that provides information about those polynomials. It is named for James Joseph Sylvester.
Contents |
Formally, let p and q be two nonzero polynomials, respectively of degree m and n. Thus:
The Sylvester matrix associated to p and q is then the matrix obtained as follows:
Thus, if m=4 and n=3, the matrix is:
These matrices are used in commutative algebra, e.g. to test if two polynomials have a (non constant) common factor. In such a case, the determinant of the associated Sylvester matrix (which is named the resultant of the two polynomials) equals zero. The converse is also true.
The solutions of the simultaneous linear equations
where is a vector of size and has size , comprise the coefficient vectors of those and only those pairs of polynomials (of degrees and , respectively) which fulfill
(where polynomial multiplication and addition is used in this last line). This means the kernel of the transposed Sylvester matrix gives all solutions of the Bézout equation where and .
Consequently the rank of the Sylvester matrix determines the degree of the greatest common divisor of p and q.